<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="inc/home::header">
</head>
<link type="text/css" th:href="@{/css/content.css}" rel="stylesheet" />
	<body>
		<!--返回-->
		<div class="back"  onclick="loadPage('/Spare/out-record')"><img src="/images/back.png" /></div>
		<div th:include="header :: header"></div>
		<div class="header-title">
			<span>高级搜索</span>
		</div>
		<div class="spare-a">
			<div class="save-bg"><a href="#" class="spare-tj" onclick="js_method()">确 定</a></div>
			<div class="spare-add">
				<ul>
					<li>
						<div class="spare-addl">开始时间：</div>
						<div class="spare-addr"><input type="text" class="spare-add-input" onclick="laydate()" id="Startime"/></div>
					</li>
					<li>
						<div class="spare-addl">结束时间：</div>
						<div class="spare-addr"><input type="text" class="spare-add-input" onclick="laydate()" id="Endtime"/></div>
					</li>
					<li>
						<div class="spare-addl">入库人员：</div>
						<div class="spare-addr"><input type="text" class="spare-add-input" id="createUser"/></div>
					</li>
					<li>
						<div class="spare-addl">编号/型号：</div>
						<div class="spare-addr"><input type="text" class="spare-add-input" id="spareCode"/></div>
					</li>
				</ul>
			</div>
		</div>
	</body>
	<script th:inline="javascript">
	/*<![CDATA[*/
	function js_method() {
		var Startime=$("#Startime").val();
		var Endtime=$("#Endtime").val();
		var createUser=$("#createUser").val();
		var spareCode=$("#spareCode").val();
		 window.location.href="/Spare/out-record?Startime="+Startime+"&Endtime="+Endtime+"&createUser="+createUser+"&spareCode="+spareCode;
	}
	
	/*]]>*/
	</script>
</html>
